﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using CMP.ERP.Model;
using CMP.ERP.DAL;

namespace CMP.ERP.BLL
{
    public  class ProvinceBLL
    {
        //实例化对象
        ProvinceDAL dal = new ProvinceDAL();

        /// <summary>
        /// 获取省份信息
        /// </summary>
        /// <returns></returns>
        public DataTable GetProvince()
        {
            return dal.GetProvince();
        }
        //获取省份下拉框(使用Ado五大对象)
        /// <summary>
        /// 获取商品类型
        /// </summary>
        /// <returns></returns>
        public List<Province> GetProvince2()
        {
            return dal.GetProvince2();
        }
    }
}
